
/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

京东云IP高防相关接口
京东云IP高防相关接口

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

#import <Foundation/Foundation.h>

#import <JDCloudOCSDKIpanti/IpantiExecutor.h>


/// 开启转发规则的黑名单规则
@implementation  IpantiEnableBlackListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:enableBlackListRuleOfForwardRule";
    return self;
}
@end

/// 查询告警配置
@implementation  IpantiDescribeAlarmConfigExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}:describeAlarmConfig";
    return self;
}
@end

/// 添加实例的 IP 黑白名单, 预定义的 IP 黑白名单绑定到转发规则的黑名单或白名单后生效
@implementation  IpantiCreateIpSetExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/ipSets";
    return self;
}
@end

/// 查询网站类防护规则的黑名单用量信息
@implementation  IpantiDescribeWebRuleBlackListUsageExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:describeWebRuleBlackListUsage";
    return self;
}
@end

/// 查询非网站类转发规则的防护规则
@implementation  IpantiDescribeProtectionRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:describeProtectionRule";
    return self;
}
@end

/// 添加网站类规则的 CC 防护规则
@implementation  IpantiCreateCCProtectionRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules";
    return self;
}
@end

/// 更新实例弹性防护带宽
@implementation  IpantiModifyEPBExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}:modifyEPB";
    return self;
}
@end

/// 查询网站类规则的 CC 防护默认配置
@implementation  IpantiDescribeCCProtectionDefaultConfigOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:ccProtectionDefaultConfig";
    return self;
}
@end

/// 修改网站类规则的白名单规则
@implementation  IpantiModifyWhiteListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules/{webWhiteListRuleId}";
    return self;
}
@end

/// 修改网站类规则
@implementation  IpantiModifyWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}";
    return self;
}
@end

/// 开启网站类规则的黑名单
@implementation  IpantiEnableWebRuleBlackListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:enableWebRuleBlackList";
    return self;
}
@end

/// 开启网站类规则的黑名单规则, 批量操作时 webBlackListRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiEnableBlackListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules/{webBlackListRuleId}:enable";
    return self;
}
@end

/// 查询实例的 IP 黑白名单库列表
@implementation  IpantiDescribeIpSetsExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/ipSets";
    return self;
}
@end

/// 开启网站类规则的白名单规则, 批量操作时 webWhiteListRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiEnableWhiteListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules/{webWhiteListRuleId}:enable";
    return self;
}
@end

/// 删除网站类规则的白名单规则, 批量操作时 webWhiteListRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDeleteWhiteListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules/{webWhiteListRuleId}";
    return self;
}
@end

/// 关闭网站类规则的白名单
@implementation  IpantiDisableWebRuleWhiteListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:disableWebRuleWhiteList";
    return self;
}
@end

/// 查询实例的 IP 黑白名单
@implementation  IpantiDescribeIpSetExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/ipSets/{ipSetId}";
    return self;
}
@end

/// 删除非网站规则, 批量操作时, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDeleteForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}";
    return self;
}
@end

/// 网站类规则切换成防御状态
@implementation  IpantiSwitchWebRuleProtectExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:protect";
    return self;
}
@end

/// 查询实例列表
@implementation  IpantiDescribeInstancesExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances";
    return self;
}
@end

/// 新购或升级高防实例
@implementation  IpantiCreateInstanceExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances";
    return self;
}
@end

/// 查询用户可设置为网站类规则回源 IP 的京东云云物理服务器公网 IP 资源
@implementation  IpantiDescribeCpsIpListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/cpsIpResources";
    return self;
}
@end

/// 查询 CC 攻击日志详情.
   /// - 参数 attackId 优先级高于 instanceId, attackId 不为空时, 忽略 instanceId
   /// 
@implementation  IpantiDescribeCCAttackLogDetailsExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/attacklog:describeCCAttackLogDetails";
    return self;
}
@end

/// 非网站类规则切换成回源状态
@implementation  IpantiSwitchForwardRuleOriginExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:origin";
    return self;
}
@end

/// 查询转发规则的黑名单规则
@implementation  IpantiDescribeBlackListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}/forwardBlackListRule";
    return self;
}
@end

/// 查询各类型攻击次数
@implementation  IpantiDescribeAttackTypeCountExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/attacklog:describeAttackTypeCount";
    return self;
}
@end

/// 关闭网站类规则的 CC 防护规则
@implementation  IpantiDisableCCProtectionRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules/{ccProtectionRuleId}:disable";
    return self;
}
@end

/// 网站类规则开启 CC 防护, 开启后网站类规则已配置的防护规则和 CC 防护配置生效, 若没有配置过 CC 防护, 默认的 CC 防护配置生效。支持批量操作, 批量操作时 webRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiEnableWebRuleCCExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:enableCC";
    return self;
}
@end

/// 查询非网站类转发规则的防护规则 Geo 拦截可设置区域编码
@implementation  IpantiDescribeGeoAreasExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/describeGeoAreas";
    return self;
}
@end

/// 查询 CC 攻击日志
@implementation  IpantiDescribeCCAttackLogsExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/attacklog:describeCCAttackLogs";
    return self;
}
@end

/// 删除网站规则的 CC 防护规则
@implementation  IpantiDeleteCCProtectionRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules/{ccProtectionRuleId}";
    return self;
}
@end

/// 关闭网站类规则 CC 观察者模式, 观察模式下, CC 防护只告警不防御。支持批量操作, 批量操作时 webRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDisableWebRuleCCObserverModeExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:disableCCObserverMode";
    return self;
}
@end

/// 更新非网站类规则
@implementation  IpantiModifyForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}";
    return self;
}
@end

/// 查询高防实例名称列表
@implementation  IpantiDescribeNameListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/describeNameList";
    return self;
}
@end

/// 转发流量报表
@implementation  IpantiDescribeFwdGraphExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/charts:fwdGraph";
    return self;
}
@end

/// 查询某个实例下的网站类规则
@implementation  IpantiDescribeWebRulesExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules";
    return self;
}
@end

/// 查询某个实例下的非网站转发配置
@implementation  IpantiDescribeForwardRulesExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules";
    return self;
}
@end

/// 修改网站类规则的黑名单规则
@implementation  IpantiModifyBlackListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules/{webBlackListRuleId}";
    return self;
}
@end

/// 删除实例的 IP 黑白名单. 支持批量操作, 批量操作时 ipSetId 传多个, 以 &#39;,&#39; 分隔. IP 黑白名单规则被引用时不允许删除
@implementation  IpantiDeleteIpSetExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/instances/{instanceId}/ipSets/{ipSetId}";
    return self;
}
@end

/// 开启网站类规则的白名单
@implementation  IpantiEnableWebRuleWhiteListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:enableWebRuleWhiteList";
    return self;
}
@end

/// 查询网站类防护规则的白名单用量信息
@implementation  IpantiDescribeWebRuleWhiteListUsageExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:describeWebRuleWhiteListUsage";
    return self;
}
@end

/// 查询高防实例防护统计信息
@implementation  IpantiDescribeProtectionStatisticsExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/describeProtectionStatistics";
    return self;
}
@end

/// 编辑网站规则证书信息
@implementation  IpantiModifyCertInfoExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:modifyCertInfo";
    return self;
}
@end

/// 更新告警配置
@implementation  IpantiModifyAlarmConfigExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}:modifyAlarmConfig";
    return self;
}
@end

/// 查询网站类转发规则 Geo 模式的白名单可设置区域编码
@implementation  IpantiDescribeWebRuleWhiteListGeoAreasExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/describeWebRuleWhiteListGeoAreas";
    return self;
}
@end

/// 修改转发规则的黑名单规则
@implementation  IpantiModifyBlackListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}/forwardBlackListRule";
    return self;
}
@end

/// 关闭网站类规则的黑名单
@implementation  IpantiDisableWebRuleBlackListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:disableWebRuleBlackList";
    return self;
}
@end

/// 非网站类规则切换成防御状态
@implementation  IpantiSwitchForwardRuleProtectExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:protect";
    return self;
}
@end

/// 删除网站类规则的黑名单规则, 批量操作时 webBlackListRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDeleteBlackListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules/{webBlackListRuleId}";
    return self;
}
@end

/// 查询网站类规则的 CC 防护规则
@implementation  IpantiDescribeCCProtectionRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules/{ccProtectionRuleId}";
    return self;
}
@end

/// 关闭网站类规则的黑名单规则, 批量操作时 webBlackListRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDisableBlackListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules/{webBlackListRuleId}:disable";
    return self;
}
@end

/// 网站类规则切换成回源状态
@implementation  IpantiSwitchWebRuleOriginExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:origin";
    return self;
}
@end

/// 查询网站类规则的白名单规则
@implementation  IpantiDescribeWhiteListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules/{webWhiteListRuleId}";
    return self;
}
@end

/// 查询网站类规则的黑名单规则
@implementation  IpantiDescribeBlackListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules/{webBlackListRuleId}";
    return self;
}
@end

/// 查询攻击次数及流量峰值
@implementation  IpantiDescribeAttackStatisticsExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/attacklog:describeAttackStatistics";
    return self;
}
@end

/// 查询网站类规则的黑名单规则列表
@implementation  IpantiDescribeBlackListRulesOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules";
    return self;
}
@end

/// 查询 DDoS 攻击日志
@implementation  IpantiDescribeDDoSAttackLogsExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/attacklog:describeDDoSAttackLogs";
    return self;
}
@end

/// 开启转发规则的白名单规则
@implementation  IpantiEnableWhiteListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:enableWhiteListRuleOfForwardRule";
    return self;
}
@end

/// 关闭网站类规则的白名单规则, 批量操作时 webWhiteListRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDisableWhiteListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules/{webWhiteListRuleId}:disable";
    return self;
}
@end

/// 修改转发规则的白名单规则
@implementation  IpantiModifyWhiteListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}/forwardWhiteListRule";
    return self;
}
@end

/// 添加网站类规则
@implementation  IpantiCreateWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules";
    return self;
}
@end

/// 修改网站类规则的 CC 防护规则
@implementation  IpantiModifyCCProtectionRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules/{ccProtectionRuleId}";
    return self;
}
@end

/// 查询网站类规则的 CC 防护配置
@implementation  IpantiDescribeCCProtectionConfigOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:ccProtectionConfig";
    return self;
}
@end

/// 查询网站类规则的 CC 防护规则列表
@implementation  IpantiDescribeCCProtectionRulesOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules";
    return self;
}
@end

/// 关闭网站类规则 CC 防护, 网站类规则的 CC 防护规则和 CC 防护配置失效。支持批量操作, 批量操作时 webRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDisableWebRuleCCExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:disableCC";
    return self;
}
@end

/// 添加网站类规则的白名单规则
@implementation  IpantiCreateWhiteListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules";
    return self;
}
@end

/// 添加网站类规则的黑名单规则
@implementation  IpantiCreateBlackListRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webBlackListRules";
    return self;
}
@end

/// 检测实例名称是否合法
@implementation  IpantiCheckNameExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/checkName";
    return self;
}
@end

/// DDos 防护流量报表
@implementation  IpantiDescribeDDoSGraphExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/charts:DDoSGraph";
    return self;
}
@end

/// 关闭转发规则的黑名单规则
@implementation  IpantiDisableBlackListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:disableBlackListRuleOfForwardRule";
    return self;
}
@end

/// 查询实例的 IP 黑白名单用量信息
@implementation  IpantiDescribeIpSetUsageExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}:describeIpSetUsage";
    return self;
}
@end

/// 修改网站类规则的 CC 防护配置
@implementation  IpantiModifyCCProtectionConfigOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PATCH";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:ccProtectionConfig";
    return self;
}
@end

/// 关闭转发规则的白名单规则
@implementation  IpantiDisableWhiteListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:disableWhiteListRuleOfForwardRule";
    return self;
}
@end

/// 开启网站类规则的 CC 防护规则
@implementation  IpantiEnableCCProtectionRuleOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/ccProtectionRules/{ccProtectionRuleId}:enable";
    return self;
}
@end

/// 查询网站类规则的白名单规则列表
@implementation  IpantiDescribeWhiteListRulesOfWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}/webWhiteListRules";
    return self;
}
@end

/// 查询网站类规则
@implementation  IpantiDescribeWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}";
    return self;
}
@end

/// 查询网站类转发规则 Geo 模式的黑名单可设置区域编码
@implementation  IpantiDescribeWebRuleBlackListGeoAreasExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/describeWebRuleBlackListGeoAreas";
    return self;
}
@end

/// 添加非网站类规则
@implementation  IpantiCreateForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules";
    return self;
}
@end

/// 查询用户可设置为网站类规则回源 IP 的京东云云内弹性公网 IP 资源
@implementation  IpantiDescribeVpcIpListExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/describeVpcIpList";
    return self;
}
@end

/// 修改非网站类转发规则的防护规则
@implementation  IpantiModifyProtectionRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}:modifyProtectionRule";
    return self;
}
@end

/// 删除网站规则。支持批量操作, 批量操作时 webRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiDeleteWebRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}";
    return self;
}
@end

/// 修改实例名称
@implementation  IpantiModifyInstanceNameExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}:rename";
    return self;
}
@end

/// 查询非网站类规则
@implementation  IpantiDescribeForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}";
    return self;
}
@end

/// 查询转发规则的白名单规则
@implementation  IpantiDescribeWhiteListRuleOfForwardRuleExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}/forwardRules/{forwardRuleId}/forwardWhiteListRule";
    return self;
}
@end

/// CC 防护流量报表
@implementation  IpantiDescribeCCGraphExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/charts:CCGraph";
    return self;
}
@end

/// 查询实例
@implementation  IpantiDescribeInstanceExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/instances/{instanceId}";
    return self;
}
@end

/// 开启网站类规则 CC 观察者模式, 观察模式下，CC 防护只告警不防御。支持批量操作, 批量操作时 webRuleId 传多个, 以 &#39;,&#39; 分隔, 返回 result.code 为 1 表示操作成功, 为 0 时可能全部失败, 也可能部分失败
@implementation  IpantiEnableWebRuleCCObserverModeExecutor

-(id) initWithJDCloudClient:(IpantiClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/instances/{instanceId}/webRules/{webRuleId}:enableCCObserverMode";
    return self;
}
@end
